home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / TSPA3340.ZIP / TSUNTBOT.INT < prev    next >
Text File  |  1993-07-26  |  2KB  |  58 lines

  1. {$B-,D-,F-,I+,N-,R-,S+,V+}
  2.  
  3. (*
  4. Timo Salmi UNiT BOoT
  5. A Turbo Pascal unit for rebooting
  6. All rights reserved 26-Jul-93
  7.  
  8. This unit may be used and distributed freely for PRIVATE,
  9. NON-COMMERCIAL, NON-INSTITUTIONAL purposes, provided it is not
  10. changed in any way, and that a proper attribution is made. For ANY
  11. other usage, such as use in a business enterprise or a university,
  12. contact the author for the terms of registration.
  13.  
  14. The units are under development. Comments and contacts are solicited. If
  15. you have any questions, please do not hesitate to use electronic mail for
  16. communication.
  17. InterNet address: ts@uwasa.fi         (preferred)
  18. Bitnet address:   SALMI@FINFUN
  19.  
  20. The author shall not be liable to the user for any direct, indirect or
  21. consequential loss arising from the use of, or inability to use, any unit,
  22. program or file howsoever caused. No warranty is given that the units and
  23. programs will work under all circumstances.
  24.  
  25. Timo Salmi
  26. Professor of Accounting and Business Finance
  27. Faculty of Accounting & Industrial Management; University of Vaasa
  28. P.O. BOX 297, FI-65101 Vaasa, Finland
  29.  
  30. *)
  31.  
  32. unit TSUNTBOT;
  33.  
  34. (* ======================================================================= *)
  35.                           interface
  36. (* ======================================================================= *)
  37.  
  38. uses Dos,
  39.      TSUNTH;  (* For internal processor type testing *)
  40.  
  41. (* =======================================================================
  42.                            Reboot
  43.    ======================================================================= *)
  44.  
  45. (* Reboot the computer without memory tests. Resembles alt-ctrl-del.
  46.    Inline coded. Use judiciously *)
  47. procedure WARMBOOT;
  48.  
  49. (* Reboot the computer with memory tests. Inline coded. Use judiciously *)
  50. procedure COLDBOOT;
  51.  
  52. (* Reboot the computer with file closing and cache flushing. Should
  53.    thus be more secure than WARMBOOT and COLDBOOT, but no guarantees
  54.    here either. REBOOT has many times more code than the other two
  55.    boots. For a cold reboot set argument warm to false *)
  56. procedure REBOOT (warm : boolean);
  57.  
  58.